/*
 * cle.h
 *
 *  Created on: 10 avr. 2013
 *      Author: xavier
 */

#ifndef CLE_H_
#define CLE_H_

#include <stdio.h>
#include <stdlib.h>
#include "SDL.h"
#include "SDL_image.h"
#include "../include/constant.h"

typedef struct s_key * t_key;

extern t_key key_init(int x,int y);
enum k_way {
	STATE
};

extern void key_display(t_key key, SDL_Surface *screen);
extern int key_get_y(t_key key);
extern int key_get_x(t_key key);



#endif /* CLE_H_ */
